package com.jintu.portal;

import com.spring4all.mongodb.EnableMongoPlus;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author very
 */
@Slf4j
@SpringBootApplication
@EnableTransactionManagement
@EnableWebMvc
@EnableAspectJAutoProxy
@ComponentScan(basePackages = "com.jintu.portal")
@EnableScheduling
@EnableMongoPlus
public class GatewayStarter {


    public static void main(String[] args) {
        SpringApplication.run(GatewayStarter.class, args);
    }
}
